package routers

import (
	"CRMSystem/controllers"
	beego "github.com/beego/beego/v2/server/web"
)

func init() {
	// 订单
	beego.Router("/ordersList", &controllers.OrderController{}, "get:GetOrders")

	//提交订单
	beego.Router("/ordersSubmit", &controllers.OrderController{}, "post:AddOrders")
}
